package daos;

import java.util.HashSet;
import java.util.Set;

/**
 * Session entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Session implements java.io.Serializable {

	// Fields

	private Integer sessionId;
	private Hall hall;
	private Movie movie;
	private String sessionDate;
	private String seats;
	private Float price;
	private Set orderses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Session() {
	}

	/** minimal constructor */
	public Session(Hall hall, Movie movie, String sessionDate, String seats,
			Float price) {
		this.hall = hall;
		this.movie = movie;
		this.sessionDate = sessionDate;
		this.seats = seats;
		this.price = price;
	}

	/** full constructor */
	public Session(Hall hall, Movie movie, String sessionDate, String seats,
			Float price, Set orderses) {
		this.hall = hall;
		this.movie = movie;
		this.sessionDate = sessionDate;
		this.seats = seats;
		this.price = price;
		this.orderses = orderses;
	}

	// Property accessors

	public Integer getSessionId() {
		return this.sessionId;
	}

	public void setSessionId(Integer sessionId) {
		this.sessionId = sessionId;
	}

	public Hall getHall() {
		return this.hall;
	}

	public void setHall(Hall hall) {
		this.hall = hall;
	}

	public Movie getMovie() {
		return this.movie;
	}

	public void setMovie(Movie movie) {
		this.movie = movie;
	}

	public String getSessionDate() {
		return this.sessionDate;
	}

	public void setSessionDate(String sessionDate) {
		this.sessionDate = sessionDate;
	}

	public String getSeats() {
		return this.seats;
	}

	public void setSeats(String seats) {
		this.seats = seats;
	}

	public Float getPrice() {
		return this.price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public Set getOrderses() {
		return this.orderses;
	}

	public void setOrderses(Set orderses) {
		this.orderses = orderses;
	}

}